package com.example.service;

import com.example.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @author ：liukai
 * @date ：Created in 2021/9/7 2:53 下午
 * @description：
 * @modified By：
 * @version: $
 */
@FeignClient(value = "rocketmq-provider")
public interface RocketService {

    @PostMapping("/rocket/sendUserInfo")
    String send(@RequestBody User user);

}
